/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cr.ac.una.sive.vista;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;


@ManagedBean
@SessionScoped
public class ResultadosConsultaMultiple {

    //  List of sample inventory data.
    private cr.ac.una.sive.vista.ResultadosConsultaMultiple.ConsultaMultiple[] consultaMultiple = new cr.ac.una.sive.vista.ResultadosConsultaMultiple.ConsultaMultiple[]{
            new cr.ac.una.sive.vista.ResultadosConsultaMultiple.ConsultaMultiple("Azul", "CV", "Honda",  "Accord","2000","Diego Mora","113577677"),
            new cr.ac.una.sive.vista.ResultadosConsultaMultiple.ConsultaMultiple("Gris", "YZ", "Toyota",  "Corolla","1998","Carlos Soto","237577677"),
            new cr.ac.una.sive.vista.ResultadosConsultaMultiple.ConsultaMultiple("Negro", "HX", "Hyundai",  "Elantra","1992","Luis Campos","563577677"),
            new cr.ac.una.sive.vista.ResultadosConsultaMultiple.ConsultaMultiple("Blanco", "NP", "Suzuki",  "Grand Vitara","1996","Jose Alvarado","235677677"),
            new cr.ac.una.sive.vista.ResultadosConsultaMultiple.ConsultaMultiple("Verde", "GT", " Honda",  "CRX","1998","Julio Carrillo","675337677"),
            
    };

    /**
     * Gets the inventoryItem array of car data.
     * @return array of car inventory data.
     */
    public cr.ac.una.sive.vista.ResultadosConsultaMultiple.ConsultaMultiple[] getConsultaMultiple() {
        return consultaMultiple;
    }

    /**
     * Inventory Item subclass stores data about a cars inventory data.  Properties
     * such a stock, model, description, odometer and price are stored.
     */
    public class ConsultaMultiple {
        // slock number
        String color;
        String numero_serie;
        String marca;        
        String modelo;
        String ano;
        String propietario;
        String cedula;
        /**
         * Creates a new instance of InventoryItem.
         * @param dia stock number.
         * @param hora_entrada model or type of inventory.
         * @param hora_salida description of item.
         * @param odometer number of miles on odometer.
         * @param price price of care in Canadian dollars.
         */
        public ConsultaMultiple(String color, String numero_serie, String marca, String modelo,String ano,String propietario,String cedula) {
            this.color = color;
            this.numero_serie = numero_serie;
            this.marca = marca;
            this.modelo = modelo;
            this.ano = ano;
            this.propietario =  propietario;
            this.cedula = cedula;
         
        }

        /**
         * Gets the stock number of this iventory item.
         * @return stock number.
         */
        public String getColor() {
            return color;
        }

        public String getNumeroSerie() {
            return numero_serie;
        }
     
        public String getMarca() {
            return marca;
        }
        public String getModelo() {
            return modelo;
        }
        public String getAno() {
            return ano;
        }
        public String getPropietario() {
            return propietario;
        }
        public String getCedula() {
            return cedula;
        }
    }
}
